<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改密码')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="form-edit-payNumber">
			<input  type="text" th:value="${wxUserId}" name="id" hidden/>
			<div class="form-group">
				<label class="col-sm-3 control-label">当前支付密码：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text"  readonly  th:value="${oldPayNumber}"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">修改支付密码：</label>
				<div class="col-sm-8">
					<input class="form-control" type="number" name="payNumber" >
				</div>
			</div>
		</form>
	</div>
	<th:block th:include="include :: footer" />
	<script type="text/javascript">

		function submitHandler() {
	        if ($.validate.form()) {
	        	$.post(ctx + "WxUser/WxUser/resetPayNum", $('#form-edit-payNumber').serialize(),function (res) {
					$.modal.msgReload("保存成功,正在刷新数据请稍后……", modal_status.SUCCESS);
				});
	        }
	    }
	</script>
</body>

</html>
